package com.dgshanger.sanhxiaofeisc.mvp.contract;

import com.dgshanger.sanhxiaofeisc.entity.CommentDetailsEntity;
import com.xx.baseuilibrary.mvp.BaseMvpView;
import com.xx.baseutilslibrary.network.rx.XxBaseHttpObserver;

/**
 * Created by JacobHHH on 2018/4/20.
 */

public interface CommentDetailsContract {

    interface View extends BaseMvpView{

        void setData(CommentDetailsEntity entity);

        void onDataFailure(String err);
    }

    interface Presenter{

        void loadData(String comment_id);
    }

    interface Model{

        void loadData(String comment_id, XxBaseHttpObserver<CommentDetailsEntity> httpObserver);
    }
}
